/*
 * @Descripttion: GGB
 * @version: 1.0
 * @Author: GGB
 * @Date: 2021-08-19 09:28:43
 * @LastEditors: GGB
 * @LastEditTime: 2021-08-19 11:19:22
 */
class WarningModel {
  String address;
  String level;
  String image;
  String description;
  String time;
  bool status;
  String title;

  WarningModel(
      {this.address,
      this.level,
      this.image,
      this.description,
      this.time,
      this.status,
      this.title});

  WarningModel.fromJson(Map<String, dynamic> json) {
    address = json['address'];
    level = json['level'];
    image = json['image'];
    description = json['description'];
    time = json['time'];
    status = json['status'];
    title = json['title'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['address'] = this.address;
    data['level'] = this.level;
    data['image'] = this.image;
    data['description'] = this.description;
    data['time'] = this.time;
    data['status'] = this.status;
    data['title'] = this.title;
    return data;
  }
}
